﻿using IOA.MES.DataAccess.Enum;

namespace IOA.MES.PdaApi.Models.Request.Downgrade
{
    public class DowngradeRequest
    {
        /// <summary>
        /// 降级条码
        /// </summary>
        public string BarCode { get; set; }

        /// <summary>
        /// 降级类型（0：降级，1：锁定）
        /// </summary>
        public DowngradeType DowngradeType { get; set; }

        /// <summary>
        /// 当前站点
        /// </summary>
        public SiteType CurSite { get; set; }

        /// <summary>
        /// 等级（给等级的文本，如Q1、QB）
        /// </summary>
        public string Level { get; set; }

        /// <summary>
        /// 锁定站点
        /// </summary>
        public SiteType? LockSite { get; set; }

        /// <summary>
        /// 说明
        /// </summary>
        public string DowngradeDesc { get; set; }
    }
}
